package com.mainbo.androidframework.utils;

import android.content.Context;
import android.util.DisplayMetrics;

/**
 * Created by lsmtty on 2016/3/4.
 */
public class UemisEnv {
    public static final String HOST_Name = "";
    public static final String SERVER_URL_TEST ="http://192.168.0.231/pracice";
    public final static String DEFAULT_CHARSET = "UTF-8";
    public static int SCREEN_HEIGHT;
    public static int SCREEN_WIDTH;

    public static void init(Context context){
        initScreen(context);
    }

    private static void initScreen(Context context){
        DisplayMetrics dm = context.getResources().getDisplayMetrics();
        SCREEN_HEIGHT = dm.heightPixels;
        SCREEN_WIDTH = dm.widthPixels;
    }
}
